package com.yld.scott.ch06;

import java.util.Random;

import org.junit.Test;

public class RandomTest {
	
	
	@Test
	public void random() throws Exception {
		Random random = new Random();
		
		//0<=d<1
		double d = random.nextDouble();
		
		System.out.println(d);
	}

}
